package org.yzh.web.model.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lsj
 * @date 2021/1/19 15:00
 */
@NoArgsConstructor
@Data
public class QiniuDynamicUrl {

    /**
     * publishUrl : rtmp://180.101.136.156:2045/3nm4x10z8mcu2/Program-1
     * playUrls : {"rtmp":"rtmp://180.101.136.156:2045/3nm4x10z8mcu2/Program-1","flv":"http://180.101.136.156:1360/3nm4x10z8mcu2/Program-1.flv","hls":"http://180.101.136.156:1370/3nm4x10z8mcu2/Program-1.m3u8"}
     * portalHlsUrl :
     * onlineState : false
     * disabled : false
     * publishUrlExpired : 1705647291
     */

    private String publishUrl;
    private PlayUrlsBean playUrls;
    private String portalHlsUrl;
    private Boolean onlineState;
    private Boolean disabled;
    private Integer publishUrlExpired;

    @NoArgsConstructor
    @Data
    public static class PlayUrlsBean {
        /**
         * rtmp : rtmp://180.101.136.156:2045/3nm4x10z8mcu2/Program-1
         * flv : http://180.101.136.156:1360/3nm4x10z8mcu2/Program-1.flv
         * hls : http://180.101.136.156:1370/3nm4x10z8mcu2/Program-1.m3u8
         */

        private String rtmp;
        private String flv;
        private String hls;
    }
}
